package com.ocom.company.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.company.EntityFlowApprover;
import com.ocom.common.request.company.GetFlowApprovalDetailRequest;
import com.ocom.common.vo.company.GetFlowApprovalDetailVo;

import java.util.List;

public interface FlowApproverService extends IService<EntityFlowApprover> {
    List<EntityFlowApprover> getByFid(Long companyId,Integer fId);

    boolean save(Long companyId,EntityFlowApprover entityFlowApprover);

    boolean update(Long companyId,EntityFlowApprover entityFlowApprover);

    boolean remove(Long companyId,EntityFlowApprover entityFlowApprover);

    EntityFlowApprover getOne(Long companyId,EntityFlowApprover entityFlowApprover);

    List<GetFlowApprovalDetailVo> getFlowApprovalDetail(Long companyId,GetFlowApprovalDetailRequest getFlowApprovalDetailRequest);
}
